
/**
 * Enumeration class Word - write a description of the enum class here
 * 
 * @author (your name here)
 * @version (version number or date here)
 */
public enum Word
{
    GO("go"),HELP("help"),QUIT("quit"),PICK("pick"),LOOK("look"),CHECK("check"),EAT("eat");
    
    private String commandWord;
    private Word(String commandWord){
       this.commandWord = commandWord;
    }
    
    public boolean isSameWord(String s){
       return this.commandWord.equals(s);
    }
    
    public String getCommandWord(){
       return this.commandWord;
    }
}
